import { Injectable } from '@nestjs/common';

@Injectable()
export class UtilsService {
    public copyPropertiesIgnoreUndefined(target:{[key:string]:any}, source:{[key:string]:any}, ...ignoreProperties:string[]) {
        
    }

    public maskPhoneNumber(phone:string) {
        return phone.slice(0, 3) + '****' + phone.slice(7);
    }
      
}
